wayland: Destroy the xdg_imported after the wl_surface
authorJonas Ådahl <jadahl@gmail.com>
Fri, 1 Dec 2017 08:03:34 +0000 (16:03 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Dec 2017 03:13:40 +0000 (22:13 -0500)
commit25dc32c1a1bb9d0786e0a636659c4c2c5c8d0d0e
tree2d3e32ec1b2a73e239c1afb9dbe9ba25a762bde8
parentdee5142c919fc197cec5a8832f12561c977cb5b5
wayland: Destroy the xdg_imported after the wl_surface

This way the window manager can handle destruction while having the
transient-for relationship still valid.

https://bugzilla.gnome.org/show_bug.cgi?id=791062
gdk/wayland/gdkwindow-wayland.c